package top.tangyh.lamp.care.vo.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Schema(description="设备信息vo")
@Data
public class DevDetailDto implements Serializable {

    private static final long serialVersionUID = 1L;


    private Long id;


    @Schema(description ="设备标识")
    private String devCode;

    @Schema(description ="品牌id")
    private String brand;

    @Schema(description ="型号id")
    private String brandType;

    @Schema(description ="设备ip")
    private String ip;

    @Schema(description ="mac地址")
    private String macAddress;

    @Schema(description ="科室编号")
    private String deptNo;

    @Schema(description ="科室名称")
    private String deptName;

    @Schema(description ="心跳包发送时间间隔")
    private Integer heartbeatInterval;

    @Schema(description ="是否故障")
    private Boolean isBreak;

    @Schema(description ="是否授权")
    private Boolean isAuthorize;

    @Schema(description ="设备状态（0：未连接 1：已上电注册 ）")
    private Integer status;

    /**
     * 创建人
     */
    @Schema(description = "创建人id")
    private Long createdBy;
    /**
     *
     */
    @Schema(description = "修改人id")
    private String updatedBy;
    /**
     *
     */
    @Schema(description = "创建时间")
    private LocalDateTime createdTime;
    /**
     *
     */
    @Schema(description = "修改时间")
    private LocalDateTime updatedTime;

    @Schema(description ="是否删除 0否1是")
    private Boolean isDeleted;

    @Schema(description ="设备类别， 1监护仪 2呼吸机")
    private Integer devType;

    @Schema(description ="型号标识")
    private String typeCode;

    @Schema(description ="品牌名称")
    private String brandName;

    @Schema(description ="设备型号标识")
    private String brandTypeCode;

    @Schema(description ="品牌标识")
    private String brandCode;

    @Schema(description ="绑定病人")
    private String bingPatientName;

    @Schema(description ="绑定病人识别号")
    private String  patientIdent;

    @Schema(description ="是否常用  0 否 1 是")
    private Integer cy;

    @Schema(description ="床号")
    private String bedNumber;

}